package com.lanou.service;

import java.util.List;
import java.util.Map;

/**
 * Created by QuChao on 2018/11/23
 */
public interface ContentCategoryService {
    List<Map<String, Object>> list();

    List<Map<String, Object>> addCategory(Long parentId, String name);

    boolean updateById(Long id, String name);

    void deleteById(Long id);
}
